#include <iostream>

using namespace std;


int main(void){
	unsigned long int a,b;
	long int t;
	while (cin >> a >> b){
	 	t=(signed long int)a-b;
		if (t>=0) cout << t <<endl;
		else cout << t*(-1) << endl;
	}
}
